<html>
<head>
<title>Edit a record of 用戶產品報告分數記錄</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link media="all" href="/cms/css/cms.min.css" type="text/css" rel="stylesheet" /> 
<link rel="stylesheet" type="text/css" href="/cms/css/tag/token-input.css" />
<script  type="text/javascript" src="/cms/js/cms.1.1.min.js"></script>
<script type="text/javascript" src="/cms/js/tag/jquery.tokeninput.js"></script>
<script language="JavaScript" src="/cms/js/cleditor/jquery.cleditor.min.js"></script>
<!--change to auto add JS later-->
<script language="JavaScript" src="/cms/js/jquery.validate.js"></script>
<script language="JavaScript" src="/cms/js/autocomplete/textarea.js"></script>

<link media="all" href="/cms/js/jcrop/css/jquery.Jcrop.css" type="text/css" rel="stylesheet"> 
</head>

<body>
{#include file="$navigation"#}
<div style="float:right;" id="login"></div>
<script>
$(document).ready(function() {	

});	
  function validate_form(form){
	  if (validator.form())  form.submit();
  }
</script>

<H1><span id="parent_key_label"></span>Edit a record of  用戶產品報告分數記錄</H1>
<form name="form_edit" id="form_edit" method="post" action="{#$self_url#}" >	
<div class='tableWrapper' style="width:100%;margin:0;padding:0;">
  <div class='tableHeader' >

	<ul class="tableActions">
	
  <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存 " onclick="form.subaction.value='edit_after_update'; form.submit();" type="button"></li>
  <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" type="submit" name="Submit" value=" 確定 "></li>
  <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="dummy" value=" 取消 " onclick="javascript:window.location.href='{#$self_url#}/list/{#$oid#}'" type="button"></li>  
<li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 刪除 " onclick="form.action.value='del'; form.submit();" type="button"></li>
	</ul>

  <div class='clear'></div>
  <div class='corner left'></div>
  <div class='corner right'></div>
  </div>	
	
<table border="0" cellspacing='0' >
<tr id="tr_id"><td><B>id</B></td>
<td id="td_id">{#$edit_data.id#}</td></tr>
<tr id="tr_well"><td><B>總評</B> <img src="/cms/images/ico/info.gif" class="tips" title="平均分 1：很好  2：好 3：一般  4：差  5：很差" /></td>
<td id="td_well">{#$edit_data.well#}</td></tr>
<tr id="tr_category_score_num"><td><B>評分總人數</B></td>
<td id="td_category_score_num"><input id="field_category_score_num" type="text" name="category_score_num" value="{#$edit_data.category_score_num#}"></td></tr>
<tr id="tr_category_score1"><td><B>平均分1</B></td>
<td id="td_category_score1"><input id="field_category_score1" type="text" name="category_score1" value="{#$edit_data.category_score1#}"></td></tr>
<tr id="tr_category_score2"><td><B>平均分2</B></td>
<td id="td_category_score2"><input id="field_category_score2" type="text" name="category_score2" value="{#$edit_data.category_score2#}"></td></tr>
<tr id="tr_category_score3"><td><B>平均分3</B></td>
<td id="td_category_score3"><input id="field_category_score3" type="text" name="category_score3" value="{#$edit_data.category_score3#}"></td></tr>
<tr id="tr_category_score4"><td><B>平均分4</B></td>
<td id="td_category_score4"><input id="field_category_score4" type="text" name="category_score4" value="{#$edit_data.category_score4#}"></td></tr>
<tr id="tr_category_score5"><td><B>平均分5</B></td>
<td id="td_category_score5"><input id="field_category_score5" type="text" name="category_score5" value="{#$edit_data.category_score5#}"></td></tr>
<tr id="tr_category_score6"><td><B>平均分6</B></td>
<td id="td_category_score6"><input id="field_category_score6" type="text" name="category_score6" value="{#$edit_data.category_score6#}"></td></tr>
<tr id="tr_category_score7"><td><B>平均分7</B></td>
<td id="td_category_score7"><input id="field_category_score7" type="text" name="category_score7" value="{#$edit_data.category_score7#}"></td></tr>
<tr id="tr_category_score8"><td><B>平均分8</B></td>
<td id="td_category_score8"><input id="field_category_score8" type="text" name="category_score8" value="{#$edit_data.category_score8#}"></td></tr>
<tr id="tr_well_score"><td><B>滿意度總分</B></td>
<td id="td_well_score"><input id="field_well_score" type="text" name="well_score" value="{#$edit_data.well_score#}"></td></tr>
<tr id="tr_well_score_num1"><td><B>滿意度-很好（評分人數）</B></td>
<td id="td_well_score_num1"><input id="field_well_score_num1" type="text" name="well_score_num1" value="{#$edit_data.well_score_num1#}"></td></tr>
<tr id="tr_well_score_num2"><td><B>滿意度-好（評分人數）</B></td>
<td id="td_well_score_num2"><input id="field_well_score_num2" type="text" name="well_score_num2" value="{#$edit_data.well_score_num2#}"></td></tr>
<tr id="tr_well_score_num3"><td><B>滿意度-一般（評分人數）</B></td>
<td id="td_well_score_num3"><input id="field_well_score_num3" type="text" name="well_score_num3" value="{#$edit_data.well_score_num3#}"></td></tr>
<tr id="tr_well_score_num4"><td><B>滿意度-差（評分人數）</B></td>
<td id="td_well_score_num4"><input id="field_well_score_num4" type="text" name="well_score_num4" value="{#$edit_data.well_score_num4#}"></td></tr>
<tr id="tr_well_score_num5"><td><B>滿意度-很差（評分人數）</B></td>
<td id="td_well_score_num5"><input id="field_well_score_num5" type="text" name="well_score_num5" value="{#$edit_data.well_score_num5#}"></td></tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="hidden" name="id" value="{#$edit_data.id#}">
     	<input type="hidden" name="oid" value="{#$edit_data.oid#}">
    <input type="hidden" name="action" value="update"><input name="subaction" type="hidden">
	<ul class="tableActions">
    
  <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存 " onclick="form.subaction.value='edit_after_update'; form.submit();" type="button"></li>
  <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" type="submit" name="Submit" value=" 確定 "></li>
  <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="dummy" value=" 取消 " onclick="javascript:window.location.href='{#$self_url#}/list/{#$oid#}'" type="button"></li>  
<li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 刪除 " onclick="form.action.value='del'; form.submit();" type="button"></li>
	</ul>
  </td>
  </tr>
</table>

</form> 

<script type="text/javascript">
$(function(){
  $(".tips").tipTip({defaultPosition: "right", edgeOffset: 10});
});
</script>

<!--POSTRUNJS-->
</body>
</html>
